{"version":3,"file":"script.map.js","names":["this","BX","exports","ui_alerts","main_core_events","main_core","main_popup","ui_vue3","GridController","options","babelHelpers","classCallCheck","grid","Main","gridManager","getInstanceById","gridId","initGrid","createClass","key","value","getGridBodyRows","getRows","getBodyChild","_this","EventEmitter","subscribe","event","getCompatData","getId","delayToExitStream","setTimeout","initGridRows","bind","bodyRows","length","i","prependRowEditor","forEach","row","edit","newRow","setId","unselect","removeGridSelectedRows","rows","getSelected","Type","isArray","hide","reset","SettingsForm","createApp","gridController","form","app","BitrixVue","getAppConfig","mount","settingsFormSelector","defineProperty","directoryItems","selectedDirectory","newDirectoryValue","selectedItem","find","item","VALUE","reloadDirectory","directoryTableName","url","Uri","location","href","setQueryParam","toString","data","directoryName","directoryValue","computed","selectedDirectoryName","isNewDirectory","Loc","getMessage","directoryItemsMap","result","NAME","directoryItemsFull","push","apply","toConsumableArray","directoryItemsAsMenuItems","map","id","text","onclick","onSelectDirectoryItem","methods","getDirectoryDropdownMenu","bindElement","menuId","menu","MenuManager","getMenuById","getPopupWindow","destroy","create","items","toggleDirectoryDropdown","e","target","toggle","close","normalizeName","input","translit","change_case","replace_space","delete_repeat_replace","addNewRow","PropertyDirectorySettings","signedParameters","settingsForm","initErrorAlert","initSaveButton","button","document","querySelector","addEventListener","_ref","asyncToGenerator","regeneratorRuntime","mark","_callee","wrap","_callee$","_context","prev","next","preventDefault","clearErrors","ajax","runComponentAction","getFormData","mode","then","response","classList","remove","reload","showErrors","errors","stop","_x","arguments","_this2","Promise","resolve","reject","animateClosingDelay","errorAlert","setText","message","join","renderTo","Alert","color","AlertColor","DANGER","animated","customClass","FormData","append","_instance","newRowsCount","parseInt","isNaN","rowValues","getEditorValue","isShown","UF_DELETE","fieldName","Object","hasOwnProperty","call","concat","Iblock","UI","Event","Vue3"],"sources":["script.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,GACrB,SAAUC,EAAQC,EAAUC,EAAiBC,EAAUC,EAAWC,GAClE,aA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